package com.wfcm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.wfcm.dao.WfMemberRechargeOrderDao;
import com.wfcm.entity.WfMemberRechargeOrderEntity;
import com.wfcm.service.WfMemberRechargeOrderService;



@Service("wfMemberRechargeOrderService")
public class WfMemberRechargeOrderServiceImpl implements WfMemberRechargeOrderService {
	@Autowired
	private WfMemberRechargeOrderDao wfMemberRechargeOrderDao;
	
	@Override
	public WfMemberRechargeOrderEntity queryObject(Integer id){
		return wfMemberRechargeOrderDao.queryObject(id);
	}
	
	@Override
	public List<WfMemberRechargeOrderEntity> queryList(Map<String, Object> map){
		return wfMemberRechargeOrderDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return wfMemberRechargeOrderDao.queryTotal(map);
	}
	
	@Override
	public void save(WfMemberRechargeOrderEntity wfMemberRechargeOrder){
		wfMemberRechargeOrderDao.save(wfMemberRechargeOrder);
	}
	
	@Override
	public void update(WfMemberRechargeOrderEntity wfMemberRechargeOrder){
		wfMemberRechargeOrderDao.update(wfMemberRechargeOrder);
	}
	
	@Override
	public void delete(Integer id){
		wfMemberRechargeOrderDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		wfMemberRechargeOrderDao.deleteBatch(ids);
	}

	@Override
	public WfMemberRechargeOrderEntity queryByOrderNum(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return wfMemberRechargeOrderDao.queryByOrderNum(map);
	}
	
}
